<template>
    <div id="app">
        <router-view/>
    </div>
</template>

<script>
export default {
    name: 'App',
    created() {
        //
        const temp = localStorage.getItem('temp_admin');
        if (temp) {
            if (new Date().getTime() - temp >= 86400000) {
                localStorage.clear();
            }
            else {
                localStorage.setItem('temp_admin', new Date().getTime());
            }
        }
    },
};
</script>

<style lang="less">
.el-input {
    .el-input__inner {
        height: 30px;
    }
}
.el-date-picker {
    width: auto;
}
.el-button, .el-button--mini, .el-button--small{
    font-size: 12px ;
}
.el-table th.el-table__cell{
    height: 42px;
    background: #F5F5F5;
    font-size: 12px;
    font-weight: 400;
    color: #222222;
}
.el-dialog {
    width: 600px;
}
.el-table .el-table__cell .cell{
    font-size: 12px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #666666;
}
.shadow-box{
    background: #FFFFFF;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.16);
    opacity: 1;
}
.common-title {
    height: 18px;
    font-size: 18px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    line-height: 31px;
    color: #666666;
    opacity: 1;
}

.btn-delete { 
    color: #f56c6c;
}
.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.table-base {
    width: 100%;
    margin-top: 10px;
}
</style>
